package cn.liulingfengyu.structuralpattern.facadepattern;

/**
 * 外观模式示例
 */
public class FacadePatternDemo {
    public static void main(String[] args) {
        // 创建外观对象
        Facade facade = new Facade();

        // 调用外观方法1
        System.out.println("调用外观方法1：");
        facade.operation1();

        System.out.println("-----------------");

        // 调用外观方法2
        System.out.println("调用外观方法2：");
        facade.operation2();
    }
}